package com.kuqi.crs.vo;

import com.kuqi.crs.workbench.domain.Activity;

import java.util.List;

/**
 * @author:kuqi
 * @createTime:2021/9/25 20:17
 * @description:
 */
public class PaginationVO<T> {
    private Integer total;
    private List<T> dataList;
    private Activity activity;

    public Activity getActivity() {
        return activity;
    }

    public void setActivity(Activity activity) {
        this.activity = activity;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    @Override
    public String toString() {
        return "PaginationVO{" +
                "total=" + total +
                ", dataList=" + dataList +
                '}';
    }
}
